From: Jasper St. Pierre Date: Wed, 5 Sep 2012 17:23:45 +0000 (-0300) Subject: unlockDialog: Fix centering of label in screen shield X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5926 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ffbc1fd190b4d5997a33e720e5d536a2dadea5fa;p=gnome-shell.git unlockDialog: Fix centering of label in screen shield The code here was trying to center the label, but that didn't happen because we allocated the entire space to the label, which still plonks it at the top. --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index b18c18da0..6fcbda747 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -41,6 +41,7 @@ const UserWidget = new Lang.Class({ this.actor.add(this._label, { expand: true, x_fill: true, + y_fill: false, y_align: St.Align.MIDDLE }); this._userLoadedId = this._user.connect('notify::is-loaded',